package com.qst.dao;

import com.qst.beans.DayIn;
import com.qst.beans.OrderItem;

import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Set;

public interface OrderItemMapper {
    int addOrderItem(OrderItem orderItem);

    List<OrderItem> findByOid(Integer id);

    int deleteItemByOid(Integer oid);

    /*修改订单项评价*/
    int updateOrderItem(OrderItem orderItem);

    /**/
    List<OrderItem> getOrderItemsByPid(Integer pid);

    int addResponseToOrderItem(OrderItem orderItem);

    /**
     * 获取人物商品评分，用于排序
     * @return
     */
    List<OrderItem> getAllOrderItem();

}
